<?php
/**
 * Created by PhpStorm.
 * User: hebidu
 * Date: 15/11/11
 * Time: 11:38
 */

//电子口岸接口地址
define('BOYE_SYS_NAME',true);
//项目名称
define("PROJECT_NAME","itboye_jmsfhz_php");

//cdn资源，目前为一些第三方js，css库
define("ITBOYE_CDN","http://localhost:8070/github/itboye_cdn/cdn");
//用于PHP端调用接口的配置
define("CLIENT_ID","by571846d03009e1");
define("CLIENT_SECRET","964561983083ac622f03389051f112e5");
// 必须定义
define('UC_DB_DSN', 'mysql://jmsfhz:itboye321@114.55.90.236:3306/itboye_jmsfhz'); // 数据库连接，使用Model方式调用API必须配置此项
//以上参数依据机子环境变化可能改变

return array(
    'SITE_URL'=>'http://localhost:8070/github/itboye_jmsfhz_php',
//    'API_URL'=>'http://localhost:8088/api/gateway',
//    //图片上传远程服务器地址
//    'UPLOAD_PICTURE_REMOTE_URL' =>'http://localhost:8088/api/file/curl_upload',
//    'PICTURE_REMOTE_URL' =>'http://localhost:8088/api/picture/view?id=',
    'API_URL'=>'http://api.java.moodwo.com:8099/jmsfapi/gateway',

    //图片上传远程服务器地址
    'UPLOAD_PICTURE_REMOTE_URL' =>'http://api.java.moodwo.com:8099/jmsfapi/file/curl_upload',
    'PICTURE_REMOTE_URL' =>'http://api.java.moodwo.com:8099/jmsfapi/picture/view?id=',

    // 数据库配置
    'DB_HOST'                   =>  '114.55.90.236',//
    'DB_NAME'                   =>  'itboye_jmsfhz', //
    'DB_USER'                   =>  'jmsfhz',//boye
    'DB_PWD'                    =>  'itboye321',//
    'DB_PORT'                   =>  '3306',
    'DB_PREFIX'                 =>  'itboye_',
    //调试
    'LOG_DB_CONFIG'=>array(
        'dsn'=>UC_DB_DSN //本地日志数据库,目前跟用户中心一样的数据库链接陪着
    ),
);